/* === Base Reset & Typography === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding: 1em;
}

:root {
  --bg-hero: #e0f0ff;
  --bg-module: #eef2f7;
  --bg-muted: #f4f4f9;
  --bg-glow: #f9f9fc;
}

/* === Header & Footer === */
header, footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1.5em;
  border-radius: 8px;
  margin-bottom: 2em;
}

header h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

footer p {
  font-size: 0.9em;
}

/* === Section Modules === */
.module {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5em;
  margin-bottom: 2em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.module h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  color: #0066cc;
}

.module ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

.module li {
  margin-bottom: 0.5em;
}

/* === Links === */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Teaching Section Specifics === */
.module.teaching {
  border-left: 6px solid #4CAF50;
}

.module.teaching h2 {
  color: #4CAF50;
}

/* === Affiliate Section Specifics === */
.module.affiliate {
  border-left: 6px solid #FF9800;
}

.module.affiliate h2 {
  color: #FF9800;
}

.module.affiliate a::after {
  content: " 🔗";
}

/* === Meme Section Specifics === */
.module.meme {
  border-left: 6px solid #9C27B0;
}

.module.meme h2 {
  color: #9C27B0;
}

.module.meme img {
  max-width: 100%;
  border-radius: 6px;
  margin-top: 1em;
}

/* Glossary Term Block */
.term-block {
  background-color: #f9f9fc;
  border: 2px solid currentColor; /* accent-driven */
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em auto;
  max-width: 800px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}



/* Term Title */
.term-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5em;
  text-align: center;
}

/* Latin Subtitle */
.term-latin {
  font-style: italic;
  color: #555;
  text-align: center;
  margin-bottom: 1em;
}

/* Section Headings */
.term-section h3 {
  font-size: 1.2em;
  color: #34495e;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.2em;
}

/* Section Content */
.term-section p,
.term-section ul {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
  margin-left: 1em;
  margin-right: 1em;
}

/* Bullet Styling */
.term-section ul {
  list-style-type: disc;
  padding-left: 1.5em;
}



/* === Hero Banner Module === */
.hero {
  --hero-bg: #e0f0ff; /* Soft blue with better contrast */
  --hero-text: #2c3e50;
  --hero-subtext: #34495e;
  --hero-border: #c0d8ee;

  background-color: var(--hero-bg);
  border-bottom: 2px solid var(--hero-border);
  text-align: center;
  padding: 2em 1em;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 51, 102, 0.2);

}

.hero h1, .hero h2 {
  font-size: 2.5em;
  color: var(--hero-text);
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  color: var(--hero-subtext);
}

.featured, .toolkit, .blog {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5em;
  text-align: left;
}

/* Main content sections: horizontally centered, text left-aligned */

/* Style all sections except the hero banner */
section:not(.hero) {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5em;
  text-align: left;
}

section h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: black;
}

section h3 {
  font-size: 1.4em;
  margin-top: 1em;
  color: #2c3e50;
}

section p,
section ul {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
}

section ul {
  padding-left: 1.2em;
}

.hero {
  text-align: center;
}

.mini-nav {
  text-align: center;
  margin-top: 2em;
  font-size: 1em;
}

.mini-nav a {
  color: #2c3e50;
  text-decoration: none;
  margin: 0 0.5em;
  font-weight: bold;
}

.mini-nav a:hover {
  text-decoration: underline;
}

.link-clean {
  text-decoration: none;
  color: inherit; /* optional: keeps link color consistent with surrounding text */
  font-weight: bold; /* optional: adds emphasis */
}

.nav-left {
  text-align: left;
  padding: 1em;
}

.nav-button {
  text-decoration: none;
  font-weight: bold;
  background-color: #e0f0ff;
  color: #2c3e50;
  padding: 0.5em 1em;
  border-radius: 5px;
  display: inline-block;
}

html {
  scroll-behavior: smooth;
}

#suggest-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4a90e2;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}
#suggest-button:hover {
  background-color: #357ab8;
}

.emoji-nudge {
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  top: 9px; /* adjust to taste */
  width: 36px;
  height: 36px;
}

.pvse-muted {
  font-size: 1.2em;      /* or try 1em for paragraph-like size */
  font-weight: normal;   /* or 400 */
  margin: 0.5em 0;       /* match spacing to <p> */
}

.geek-tweakery {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f9;
  border: 1px solid #ccc;
  padding: 2em;
  margin: 2em auto;
  max-width: 800px;
  border-radius: 8px;
}

.gt-header h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 0.2em;
}

.gt-tagline {
  font-style: italic;
  color: #7f8c8d;
  margin-bottom: 1em;
}

.gt-submodule {
  background: #fff;
  border-left: 4px solid #3498db;
  padding: 1em;
  margin-bottom: 1.5em;
  border-radius: 4px;
}

.gt-submodule h3 {
  margin-top: 0;
  color: #34495e;
}

.gt-description {
  margin-bottom: 0.5em;
  color: #555;
}

.gt-tips {
  list-style-type: none;
  padding-left: 0;
}

.gt-tips li {
  margin-bottom: 0.5em;
  padding-left: 1em;
  position: relative;
}

.gt-tips li::before {
  content: "🛠️ ";
  position: absolute;
  left: 0;
}

.hero h1,
.hero h2 {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 0.5em;
}

.geek-tweakery h2 {
  font-size: 2em;
  color: #34495e;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.3em;
  margin-top: 1em;
}

.resources h2 {
  font-size: 2em;
  color: #16a085;
  border-bottom: 2px dashed #1abc9c;
  padding-bottom: 0.3em;
  margin-top: 1em;
}

img {
  border-radius: 10px;
}

.resources .geek-tweakery h2 {
  font-size: 1.8em;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 0.5em;
  margin-top: 1em;
}

.tweak-link {
  color: #2c3e50;
  text-decoration: underline;
}

.geek-tweakery {
  background-color: #eef2f7;
  padding: 2em;
  border-radius: 8px;
}

.hero {
  background-color: var(--bg-hero);
}

.module {
  background-color: var(--bg-module);
}

.term-block {
  background-color: var(--bg-muted);
}

.glitter-zone {
  background-color: var(--bg-glow);
}

.like-link {
  color: #2c3e50;
  text-decoration: underline;
}
  
.like-link:hover {
  color: rgb(52,152,219);
  text-decoration: underline;
}

.aligncenter{
    text-align: center;
}

.resource-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  margin-bottom: .5em;
}

.resource-icon {
  width: 1.5em;
  height: auto;
  vertical-align: middle;
  flex-shrink: 0;
}

.resource-text {
  flex: 1;
  line-height: 1.4;
}

.greek-submenu {
  margin: 2em 0;
  padding: 1em;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  max-width: 300px;
}

.greek-submenu h2 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.greek-submenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.greek-submenu-list li {
  margin: 0.3em 0;
}

.greek-submenu-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* === Responsive Tweaks === */
@media screen and (max-width: 600px) {
  body {
    padding: 0.5em;
  }

  .module {
    padding: 1em;
  }

  header h1 {
    font-size: 1.5em;
  }

  .module h2 {
    font-size: 1.2em;
  }
}

center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}

.subtitle {
  font-size: 0.8em;
  font-weight: normal;
  margin-left: 0.5em;
  color: #555;
}

.verse-box {
  font-size: 1.2em;
  font-style: italic;
  margin-top: 1em;
  padding: 1em;
  background-color: #fffbea;
  border-left: 4px solid #c2a83e;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.verse-link {
  margin-top: 1em;
  text-align: right;
}

.verse-link a {
  font-weight: bold;
  text-decoration: none;
  color: #3a3a3a;
}

.verse-link a:hover {
  text-decoration: underline;
  color: #7a5c1e;
}

.widget1-embed {
  display: block;
  margin: 1em auto;
}

#widget-wonderlounge h2 {
  margin-bottom: 0.5em;
}

#widget-wonderlounge {
  padding-top: 1em;
  padding-bottom: 1em;
}

.widget1-embed {
  display: block;
  margin: 1em auto;
  border: none;
  background: transparent;
  max-width: 100%;
}

.widget1-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 1em auto;
  max-width: 640px;
}

.widget-box {
  max-width: 640px;
  margin: 2em auto;
  padding: 1em;
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.color-converter-frame {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 6px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
}

.widget-badge {
  margin-top: 1em;
  font-size: 0.9em;
  color: #555;
  font-style: italic;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.widget-badge {
  animation: pulse 3s infinite;
}

.widget-box.speed-tight {
  max-width: 500px; /* Adjust as needed */
  margin: 2em auto;
  padding: 1em;
  box-sizing: border-box;
  border: 2px dashed #6a5acd;
  border-radius: 12px;
  background: #f9f9ff;
  box-shadow: 0 0 10px rgba(106, 90, 205, 0.2);
}

.widget-box.speed-tight #sc-container {
  width: 100%;
  overflow: hidden;
}

.widget-container {
  max-width: 1000px; /* or 90vw for responsiveness */
  margin: 0 auto;
  padding: 20px;
  background: #fdf6e3;
  border: 8px solid #c2b280;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.widget-header {
  font-family: 'EB Garamond', serif;
  font-size: 1.8em;
  text-align: center;
  color: #4b3a2f;
  margin-bottom: 10px;
  text-shadow: 1px 1px #e0d6b9;
}



.iframe-wrapper {
  border: 2px solid #8b6f47;
  border-radius: 8px;
  overflow: hidden;
}

.blockquote-pad {
  padding: 1em 1.5em;
  margin: 1em auto;
  background-color: #f9f9f9; /* optional for contrast */
  border-left: 4px solid #3498db; /* optional for visual anchor */
}

.etymo-banner {
  background-color: #fdfaf5;
  border: 2px solid #dcd2c0;
  border-radius: 10px;
  padding: 1.5em;
  margin: 2em auto;
  max-width: 720px;
  text-align: center;
  font-family: 'Georgia', serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.etymo-banner .banner-text {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #3b2f2f;
}

.etymo-banner .banner-links a {
  text-decoration: none;
  margin: 0 0.4em;
  font-weight: bold;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.etymo-banner .banner-links a:hover {
  color: #8e44ad;
}

.etymo-section {
  background-color: #fdfaf5; /* parchment-esque */
  border: 2px solid #dcd2c0;
  border-radius: 10px;
  padding: 1.5em;
  margin: 2em auto;
  max-width: 720px;
  text-align: center;
  font-family: 'Georgia', serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.etymo-section .banner-text {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #3b2f2f;
}

.etymo-section .banner-links a {
  text-decoration: none;
  margin: 0 0.4em;
  font-weight: bold;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.etymo-section .banner-links a:hover {
  color: #8e44ad;
}

.hebrew-framed {
  display: inline-block;
  background-color: #ffffff;
  border: 2px solid #556B2F;   /* olive accent */
  border-radius: 8px;
  padding: 0px 10px 0px 6px;
}

.hebrew-framed h3 {
  margin: 0;
  color: #556B2F; /* text accent */
}

.greek-framed {
  display: inline-block;
  background-color: #ffffff;
  border: 2px solid #1E90FF;   /* aegean blue accent */
  border-radius: 8px;
  padding: 0px 10px 0px 6px;
}

.greek-framed h3 {
  margin: 0;
  color: #1E90FF;
}

.latin-framed {
  display: inline-block;
  background-color: #ffffff;
  border: 2px solid #DAA520;   /* parchment gold accent */
  border-radius: 8px;
  padding: 0px 10px 0px 6px;
}

.latin-framed h3 {
  margin: 0;
  color: #DAA520;
}

/* === Base Blockquote Styling === */
.blockquote-scripture {
  font-style: italic;
  padding: 8px 12px;
  margin: 1em 0;
  border-left: 4px solid currentColor;
  background-color: #fdfdf6; /* parchment tone */
}

/* === Shared Scripture Blockquote === */
.blockquote-scripture {
  font-style: italic;
  padding: 8px 12px;
  margin: 1em 0;
  border-left: 3px solid currentColor;
  background-color: #fdfdf6; /* parchment tone */
}

/* === Shared Cross-links Box === */
.cross-links {
  margin-top: 1em;
  padding: 0.5em;
  background-color: #fdfdf6; /* parchment tone */
  border: 1px solid #ddd;
  border-radius: 6px;
}

.cross-links a {
  color: currentColor;       /* accent-driven */
  text-decoration: none;
  margin-right: 0.8em;
}

.cross-links a:hover {
  color: currentColor;       /* force accent on hover */
  text-decoration: underline;
}

/* === Accent Variants by Language === */
.accent-hebrew {
  color: #556B2F; /* olive */
}

.accent-latin {
  color: #B8860B;
}

.accent-greek {
  color: #71706E;
}

/* Latin term heading */
.latin-term {
  font-family: "Garamond", "Georgia", "Times New Roman", serif;
  font-size: 1.6em;
  font-weight: bold;
  color: #4a2f1f; /* warm parchment tone */
  margin-bottom: 0.5em;
}

/* Hebrew term heading */
.hebrew-term {
  font-family: "SBL Hebrew", "Ezra SIL", "David", "Times New Roman", serif;
  font-size: 1.6em;
  font-weight: bold;
  color: #556B2F; /* olive accent */
  margin-bottom: 0.5em;
  direction: ltr;
}

/* Greek term heading */
.greek-term {
  font-family: "Gentium Plus", "Palatino Linotype", "Georgia", "Times New Roman", serif;
  font-size: 1.6em;
  font-weight: bold;
  color: #71706E; /* deep slate accent */
  margin-bottom: 0.5em;
}

/* Historical notes */
.historical-note {
  font-size: 0.95em;
  line-height: 1.4;
  color: #444;
  margin: 0.5em 0;
}

/* Unified accent scaffolding */
.accent-greek {
  border-color: #71706E;
  color: #71706E;
}

.accent-hebrew {
  border-color: #556B2F; /* slate olive */
  color: #556B2F;
}

.accent-latin {
  border-color: #B8860B; /* bronzy parchment */
  color: #B8860B;
}


